package com.hjm.project.actTransactionCompliance.compliance.mapper;

import java.util.List;
import java.util.Map;

import com.hjm.project.actTransactionCompliance.compliance.domain.ActTransactionCompliance;

/**
 * 交易额返现阶梯Mapper接口
 * 
 * @author LOVE
 * @date 2020-11-29
 */
public interface ActTransactionComplianceMapper 
{
    /**
     * 查询交易额返现阶梯
     * 
     * @param id 交易额返现阶梯ID
     * @return 交易额返现阶梯
     */
    public ActTransactionCompliance selectActTransactionComplianceById(Long id);

    /**
     * 查询交易额返现阶梯列表
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 交易额返现阶梯集合
     */
    public List<ActTransactionCompliance> selectActTransactionComplianceList(ActTransactionCompliance actTransactionCompliance);

    /**
     * 新增交易额返现阶梯
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 结果
     */
    public int insertActTransactionCompliance(ActTransactionCompliance actTransactionCompliance);

    /**
     * 修改交易额返现阶梯
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 结果
     */
    public int updateActTransactionCompliance(ActTransactionCompliance actTransactionCompliance);

    /**
     * 删除交易额返现阶梯
     * 
     * @param id 交易额返现阶梯ID
     * @return 结果
     */
    public int deleteActTransactionComplianceById(Long id);

    /**
     * 批量删除交易额返现阶梯
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteActTransactionComplianceByIds(String[] ids);



    public int getNextval();

    public int addActTransactionCompliance(Map<String, Object> map);


    public int updateActTransactionCompliances(Map<String, Object> map);


    public List<Map<String, Object>> getActTransactionCompliance(Map<String, String> map);



}
